home *** CD-ROM | disk | FTP | other *** search
/ Sports Illustrated for Kids - Awesome Athletes! / Sports Illustrated for Kids - Awesome Athletes!.iso / hf.dir / 00011_athletelist.ls < prev    next >
Encoding:
Text File  |  1996-04-19  |  737 b   |  23 lines

  1. on mouseDown
  2.   global gHFpreviousline, ghfathleteno, gHFposition, ghfmaxathleteno, gHFline, gHFsearchcastmember
  3.   set the itemDelimiter to numToChar(13)
  4.   set vNum to the number of cast "athletelist"
  5.   set vmaxlines to the number of lines in field vNum
  6.   set vLine to the mouseLine
  7.   if (vLine > 0) and (vLine <= vmaxlines) then
  8.     hilite line vLine of field gHFsearchcastmember
  9.     set gHFline to vLine
  10.   end if
  11.   if (gHFpreviousline = vLine) and the doubleClick then
  12.     set gHFposition to vLine
  13.     if (gHFposition > 0) and (gHFposition <= vmaxlines) then
  14.       set the puppet of sprite 34 to 0
  15.       set gHFline to vLine
  16.       getposition()
  17.     else
  18.       set gHFposition to 0
  19.     end if
  20.   end if
  21.   set gHFpreviousline to vLine
  22. end
  23.